class DataController < ApplicationController
  include ApplicationHelper
  layout nil
  def sns
    data = SocialNetwork.all.map do |entity| entity.attributes end
    raise data.to_yaml
  end

  def rooms
    data = getFirstRoomPlaces.all
    raise data.to_yaml
  end

  def employees
    data = getFirstEmployees.all
    raise data.to_yaml
  end
end
